Skip to main content

Serial Integration Checklist

  1. Decide the protocol variant: Direct Serial (4.1.1) or DMS Serial Proxy (4.1.2).
  2. Build payload as UTF-8 route/body string — <route>[\n<json>] for Direct Serial, :<port><route>[\n<json>] for DMS Serial Proxy.
  3. Prefix payload length (4-byte BE).
  4. Compute CRC16 over Length || Payload.
  5. Append CRC (2-byte BE).
  6. Send frame.
  7. Read and validate response frame.
  8. Parse response JSON as the standard response envelope.